import {Layout} from "../layout"; // 页面整体布局
// 任务管理路由
export const taskManageRouterMap = [
  {
    path: '/taskManage',
    name: 'taskManage',
    redirect: '/taskManage/underwritAssignList',
    component: Layout,
    meta: {
      title: '核保分单任务管理',
      icon: 'hebao-01',
      iconCheck: 'hebao-02',
      index: '/taskManage/underwritAssignList',
      parentPath: 'taskManage'
    },
    noDropdown:false,
    children:[
      {
        path: '/taskManage/underwritAssignList',
        name: 'underwritAssignList',
        meta: {
          title: '核保任务分配',
          icon: 'hebao-01',
          iconCheck: 'hebao-02',
          index: '/taskManage/underwritAssignList',
          parentPath: 'taskManage',
		  flag:"deassign"
        },
        component: () => import('@/page/taskManage/underwritAssignList'),//核保任务分配
      },{
        path: '/taskManage/underwritAnewList',
        name: 'underwritAnewList',
        meta: {
          title: '核保任务重新分配',
          icon: 'hebao-01',
          iconCheck: 'hebao-02',
          index: '/taskManage/underwritAnewList',
          parentPath: 'taskManage',
		  flag:"reassign"
        },
        component: () => import('@/page/taskManage/underwritAssignList'),//与核保任务分配页面一致
      },{
        path: '/taskManage/unlockedList',
        name: 'unlockedList',
        meta: {
          title: '强制解锁',
          icon: 'hebao-01',
          iconCheck: 'hebao-02',
          index: '/taskManage/unlockedList',
          parentPath: 'taskManage'
        },
        component: () => import('@/page/taskManage/unlockedList'),//强制解锁页面
      },{
        path: '/taskManage/EndList',
        name: 'EndList',
        meta: {
          title: '强制END单',
          icon: 'hebao-01',
          iconCheck: 'hebao-02',
          index: '/taskManage/EndList',
          parentPath: 'taskManage'
        },
        component: () => import('@/page/taskManage/EndList'),//强制END单页面
      },
    ]
  },{
    path: '/taskManage',
    name: 'taskManage',
    redirect: '/taskManage/mistakeRegisterList',
    component: Layout,
    meta: {
      title: '外包差错管理',
      icon: 'hebao-01',
      iconCheck: 'hebao-02',
      index: '/taskManage/mistakeRegisterList',
      parentPath: 'taskManage'
    },
    noDropdown: true,
    children:[
      {
        path: '/taskManage/mistakeRegisterList',
        name: 'mistakeRegisterList',
        meta: {
          title: '外包差错登记',
          icon: 'hebao-01',
          iconCheck: 'hebao-02',
          index: '/taskManage/mistakeRegisterList',
          parentPath: 'taskManage'
        },
        component: () => import('@/page/taskManage/mistakeRegisterList'),//外包差错登记页面
      }
    ]
  }
]

